package comone.javatwo;


import com.sun.org.apache.xpath.internal.operations.Or;
import comone.javatwo.Util.CrudUtil;

public class Order{
     int id;

    //类属性（成员变量）
    static String name;
    static int count;

    static {
        System.out.println("ddddd");
    }


    //类方法（成员方法）
    public static int delOrder(){
        return 0;
    }

    public int getId() {

        delOrder();
        setId(1);
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    public static String getName() {
        return name;
    }

    public static void setName(String name) {
        Order.name = name;
    }
}
